💡 Note: This feature is enabled by default.An OCR (Optical Character Recognition) solution is used to extract text from images. This extracted text, along with generated image descriptions, enhances search capabilities by indexing visual content.
.csv
and .xlsx
files) using natural language queries, which are then translated into SQL.
.csv
or .xlsx
files. The data source can also contain other file types.
.csv
/.xlsx
files, choose one of the following:
💡 Example: For a survey documented in an Excel file with open-ended customer answers, use Semantic. Question: “What are the common complaints customers have about Agent Builder?”
💡 Example: Question: “How many complaints are registered as High priority?”
💡 Note: Both is the default option for Text-to-SQL setting. For all other file types within the same data source, only vector embeddings (semantic search) will be generated.
.csv
and .xlsx
files from the connected Data Source.
💡 Example: To retrieve all sales records from an Excel file where sales exceed $5,000 and the date is within Q1 2025, a SQL query like SELECT * FROM sales WHERE amount > 5000 AND date LIKE '2025-01%'
provides an efficient and precise solution by leveraging the file’s structured format.
💡 Hint: If you want to enable both Semantic and SQL search types (e.g., when your Data Source contains both.csv
/.xlsx
files and other file types, or if you chose the Both option for your structured files), you can drag and drop the Data Source step twice onto the canvas. Configure one copy to use Semantic retrieval and the other to use SQL retrieval, then connect both to the LLM.
.csv
and .xlsx
with precise, structured queries, SQL retrieval is preferred for its efficiency, accuracy, and ability to answer qualitative questions. For natural language queries or when dealing with text fields requiring semantic understanding, semantic retrieval is advantageous. In practice, combining both methods often provides the most flexible and effective solution, especially for agents interacting with users through natural language.